package cn.xiu.drugstore.service;

import java.util.List;

import cn.xiu.drugstore.pojo.Bill;

/**
 * 账单业务功能接口
 * 
 * @author Administrator
 * 
 */
public interface BillService {
	/**
	 * 根据ID查账单
	 * 
	 * @param billId
	 * @return
	 * @throws Exception
	 */
	public Bill queryBillByNId(int billId) throws Exception;

	/**
	 * 添加账单
	 * 
	 * @param bill
	 * @return
	 * @throws Exception
	 */
	public boolean addBill(Bill bill) throws Exception;

	/**
	 * 删除账单
	 * 
	 * @param id
	 * @return
	 * @throws Exception
	 */
	public boolean deleteBill(Bill bill) throws Exception;

	/**
	 * 查询周账单
	 * 
	 * @param start开始日期
	 * @param over结束日期
	 * @return
	 * @throws Exception
	 */
	public List<Bill> queryBillByNId(String start, String over) throws Exception;
}
